package com.qf.fmall.product.service;

import com.qf.fmall.product.entity.ProductComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.fmall.vo.PageVo;
import com.qf.fmall.vo.ResultVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weijy
 * @since 2024-01-16
 */
public interface IProductCommentsService extends IService<ProductComments> {

    PageVo getCommentsById(Integer productId, Integer pageNum, Integer limit);

    ResultVo getCommentsCount(Integer productId);
}
